package com.intelli.eve.core.impl.io.local;


/**
 * Author: Sergey42
 * Date: 21.12.2014 19:31
 */
public class ComponentInvocationInfo {

    protected String componentName;
    protected String methodName;
    protected Class[] argTypes;
    protected Object[] args;

    public ComponentInvocationInfo(String componentName, String methodName, Object[] args) {
        this.componentName = componentName;
        this.methodName = methodName;
        this.args = args;
    }

    public ComponentInvocationInfo(String componentName, String methodName, Class[] argTypes, Object[] args) {
        this.componentName = componentName;
        this.methodName = methodName;
        this.argTypes = argTypes;
        this.args = args;
    }

    public Object[] getArgs() {
        return args;
    }

    public String getMethodName() {
        return methodName;
    }

    public String getComponentName() {
        return componentName;
    }

    public Class[] getArgTypes() {
        return argTypes;
    }
}
